import Model from '@/utils/http'

const BASEURL = 'https://cnodejs.org/api/v1'
class getModel extends Model {
  constructor(BASEURL) {
    super()
  }
  // Cnode社区
  getTip(options: any = {}) {
    options.domain = BASEURL
    options.url = `/topics?tab=${options.tab}&limit=${options.limit}&page=${options.page}&mdrender=${options.mdrender}`
    return this.get(options)
  }
}
export default getModel